cmake_minimum_required(VERSION 3.12)
project(test_algorithm)
project(test)
project(webrtcdemo)
project(stunserver)
project(turnserver)
project(stunprober)

<<<<<<< HEAD

add_definitions(-std=c++11 "/DWIN32_LEAN_AND_MEAN" "/Mdd" "/DWEBRTC_WIN")
=======
add_definitions(-std=c++11 "/DWIN32_LEAN_AND_MEAN")
>>>>>>> fc51075a61ea3d0ec07cbba77045e13b1c51b3a5

message("current dir"  ${CMAKE_CURRENT_SOURCE_DIR})
# set(CMAKE_CXX_FLAGS   "-fno-elide-constructors")
aux_source_directory(. SOURCE)
message(info ${SOURCE})
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/xlnt/lib/Debug")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/xlnt/lib/Release")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/webrc/lib")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/libpng/lib")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/zlib/lib")

<<<<<<< HEAD
link_libraries( libwebrtc.lib ws2_32.lib winmm.lib 	DXGI.lib)
=======
link_libraries(xlntd libwebrtc.lib ws2_32.lib winmm.lib  libpng16_staticd zlibstaticd.lib DXGI.lib)
>>>>>>> fc51075a61ea3d0ec07cbba77045e13b1c51b3a5

include_directories("${CMAKE_CURRENT_SOURCE_DIR}third/xlnt/include")
message(${CMAKE_CURRENT_SOURCE_DIR}/third/webrc/include)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/webrc/include")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/libpng/include")

<<<<<<< HEAD
add_executable(webrtcdemo webrtcdemo.cpp)
add_executable(stunserver stunserver/stunserver_main.cc)
add_executable(turnserver turnserver/read_auth_file.cc turnserver/turnserver_main.cc)
add_executable(stunprober stunprober/main.cc)
=======
add_executable(test_algorithm  ./JudgeFault.cpp ./main.cpp )
add_executable(test test.cpp JudgeFault.cpp)
add_executable(webrtcdemo webrtcdemo.cpp)
>>>>>>> fc51075a61ea3d0ec07cbba77045e13b1c51b3a5
